﻿namespace com.fukefu.info
{
    public class InformationResult
    {
        private int code = 0;
        private string content = "发送失败";

        public int Code
        {
            get { return code; }
            set
            {
                switch (value)
                {
                    case 0:
                        {
                            content = "发送失败";
                            break;
                        }
                    case 2:
                        {
                            content = "账号发布满了";
                            break;
                        }
                    case 3:
                        {
                            content = "今天发布满了";
                            break;
                        }
                    case 4:
                        {
                            content = "其它原因发布结束";
                            break;
                        }
                    case 5:
                        {
                            content = "发布成功，采集网址失败";
                            break;
                        }
                    case 6:
                        {
                            content = "发布超时";
                            break;
                        }
                }
                code = value;
            }
        }
        public string Content
        {
            get { return content; }
            set { content = value; }
        }
    }
}
